i=0

while i*i < 10:
    i+=1
    print(str(i)+'*'+str(i)+'=',i*i)
else:
    print('While Over!')